<!DOCTYPE html >
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="base :: header (title='首页')" />
<link th:href="@{css/home/home.css}" rel="stylesheet"></link>
<style>
.row div {
    margin: 4px;
}
.clean_c{
     border: 1px solid #ccc; 
     padding: 4px 0px;
     border-radius: 3px; /*css3属性IE不支持*/
     padding-left:5px; 
}
</style>
<body>
	<div class="main-content blank_bg">
		<div class="row" style="">
			<div id="tab1">
				<div class="col-md-12 col-sm-12" >
					<a id="unread" class="active btn btn-primary">未读<span id="num"></span></a>
					<a id="read" class="btn btn-default">已读</a>
					<a id="myread" class="btn btn-default">我的</a>
					<a id="send" class="btn btn-default">发布</a>
				</div>
				<table id="message" class="table dataTable table-striped table-hover" style="word-break:break-all; word-wrap:break-all;">
				</table>
				<div id="edit" style="display: none;">
				<div id="fcedit" class="col-md-12 col-sm-12">
					<span>发送人</span>&nbsp;&nbsp;&nbsp;
					<select id="obj" class="selectpicker dropup"  data-live-search="false"   >
						<option value="1">所有人</option>
						<option value="2">部分人</option>
					</select>
					<div id="fbm" style="display: inline-block;">
					<span>部门</span>&nbsp;&nbsp;&nbsp;
					<select id="bm" class="selectpicker dropup" multiple data-live-search="false"  title="请选择" >
					</select>
					</div>
					</div>
					<div id="scedit" class="col-md-12 col-sm-12">
				 <span>标题</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				 <input style="width: 220px;" class="clean_c" id="fTitle"  placeholder="请输入标题"/>
				  <div id="editor"></div>
				 </div>
				 <div  class="col-md-12 col-sm-12">
				 	 <button class="btn btn-info" id="btn2">发布</button>
				 </div>
				 </div>
			</div>
			 <div id="content" style="display: none;">
			     <div style="text-align: center;">
				 <span style="border: 0px;width: 100%"  id="title" ></span>
				 </div></br><button class="btn btn-info" id="back" style="float: right;margin-top: -20px;">返回</button>
				 <div id="fcontent"></div>
				 </div>
		</div>
	</div>
</body>
<div th:include="base :: bottom" />
<div th:include="base :: bootstrapTable" />
<script th:src="@{plugins/common/js/wangEditor.min.js}"></script>
<script th:src="@{js/home/message.js}"></script>
</html>